import {
  http_get,
  http_post
} from './http'

const getPostDetail = (path) => {
  path = `spot-detail/${path}`
  const payload = {
    path: path
  }
  return http_get(payload)
}

const getHobbyList = () => {
  const path = `hobby/hobby-list1.json`
  const payload = {
    path
  }
  return http_get(payload)
}

module.exports = {
  getPostDetail,
  getHobbyList
}